<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浏览器DOM中元素的访问与操作</title>
    <script src="./js19_dom.element.js" async></script>
    <style>
        .b{
            color: red;
        }
        .c{
            
        }
    </style>
</head>
<body>
    <h1>浏览器DOM中元素的访问与操作</h1>  
    <ul>
        <li><a href="#" class="link">链接1</a></li>
        <li><a href="#" class="link">链接2</a></li>
        <li><a href="#" class="link">链接3</a></li>
    </ul>
    <div id="box">
        <p  style="visibility:hidden">隐藏内容</p>
    </div>
    <ul>
    <li><img src="" alt="图片1"></li>
    <li><img src="" alt="图片2"></li>
    <li><img src="" alt="图片3"></li>
</ul>
    <form action="">
        <lable for="p1">文本1</lable>
        <input id="p1"  name="=text" type="text">
        <lable for="p2" name="=text">文本2</lable>
        <input type="text">
        <lable for="p3" name="=text">文本3</lable>
        <input type="text">
    </form>
    <div id="content">
        <p>段落</p>
        <li>列表1</li>
        <li>列表2</li>
        <li>列表3</li>
    </div>
</body>
</html>